body {
  overflow-x: hidden;
}
.home {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
  }
  /* logo */
  .logo {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    background-color: white;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    img {
      margin-right: 20px;
      width: 100px;
      height: 23px;
    }
    .logo-input {
      position: relative;
      .icon-search {
        font-size: 14px;
        position: absolute;
        top: 8px;
        left: 6px;
      }
      input {
        border: none;
        border: 1px solid #b8b5b1;
        border-radius: 16px;
        padding: 6px 0px 6px 24px;
        background-color: #f5f5f5;
      }
    }
  }

  /* 背景图 */
  .banner img {
    width: 100%;
    height: 250px;
  }

  /* 别墅推荐 */
  .recommended {
    padding: 15px 10px 10px;
    background-color: white;
    .recommended1 {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      div {
        width: 20%;
        margin-left: 15px;
        margin-top: 10px;
        padding-bottom: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
      }
      span {
        margin-top: 5px;
        font-size: 14px;
      }
      img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
      }
    }
  }

  /* 热门城市 */
  .city {
    background-color: white;
    margin-top: 5px;
    margin-bottom: 5px;
    h4 {
      padding: 15px 10px;
    }
    .city2 {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      line-height: 50px;
      span {
        width: 24%;
        flex-grow: 1;
        border-top: 1px solid #ebebeb;
        border-right: 1px solid#ebebeb;
        text-align: center;
        padding-left: 5px;
      }
    }
  }

  /* 目的地推荐 */
  .purpose {
    background-color: white;
    margin-bottom: 60px;
    h4 {
      padding: 15px 10px;
    }
    a {
      text-decoration: none;
    }
    .purpose2 {
      img {
        width: 100%;
        height: 250px;
      }
      .purpose2-1 {
        display: flex;
        flex-direction: column;
        font-size: 12px;
        line-height: 23px;
        margin-left: 15px;
        padding-bottom: 15px;
      }
      .place {
        background-color: #82c8a0;
        width: 94px;
        line-height: 20px;
        text-align: center;
        color: white;
        border-radius: 10px;
        margin-top: 4px;
      }
    }
  }
}
